#define _CRT_SECURE_NO_DEPRECATE
#include<stdio.h>
#include<assert.h>
char*  my_strcat(char* str1,const char* str2)
{
	char* ret = str1;
	assert(str1&&str2);
	while(*str1 != '\0')
	{
		str1++;
	}
	while (*str1++ = *str2++)
	{
		;
	}
	return ret;
}
int main()
{
	char arr1[23] = "fdfdd";
	char arr2[] = "gfgdf";
	my_strcat(arr1, arr2);
    printf("%s", arr1);
	return 0;
}